package bean;

public class NodeBean {
	
	public String nodeType,ipaddress,user,password;
	public int port;
	
	public NodeBean(String nodeType,String ipaddress,int port,String user,String password) {
		this.nodeType = nodeType;
		this.ipaddress = ipaddress;
		this.port = port;
		this.user = user;
		this.password = password;
	}
	
	public String toStr() {
		return "nodeType:"+this.nodeType+",ip:"+this.ipaddress+",port:"+this.port+",user:"+this.user+",pass:"+this.password;
	}

}
